<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<% for(var i=0; i<products.length; i++) { var p = products[i]; %>
    <url>
        <loc>http://store.gf.com.cn/product/index/<%= p.id %></loc>
        <lastmod><%= p.updated_at.toFormat("YYYY-MM-DD") %></lastmod>
        <changefreq>weekly</changefreq>
        <priority><%= ((!p.hot || p.hot<0)? 0: p.hot) / 10.0 %></priority>
    </url>
<% }//for %>
</urlset>
